<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <html>

    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>个人信息管理</title>
        <script src="http://10.222.29.156:3456/js/jquery-3.2.1.js"></script>
        <link rel="stylesheet" href="http://10.222.29.156:3456/css/bootstrap.css">
        <link rel="stylesheet" href="http://10.222.29.156:3456/css/bootstrap-theme.css">
        <script src="http://10.222.29.156:3456/js/bootstrap.js"></script>
    </head>

    <body style="font-size: 16px; background-image: url(http://10.222.29.156:3456/images/home10.jpg);">
        <div>
            <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
                <div class="container-fluid" style="margin-left: 20%; margin-right: 20%;">
                    <!-- Brand and toggle get grouped for better mobile display -->
                    <div class="navbar-header">
                        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
						<span class="sr-only">Toggle navigation</span> <span
							class="icon-bar"></span> <span class="icon-bar"></span> <span
							class="icon-bar"></span>
					</button>
                        <a class="navbar-brand" href="/o2o-merchant/sec/home">M 系统</a>
                    </div>

                    <!-- Collect the nav links, forms, and other content for toggling -->
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <li><a href="/o2o-merchant/sec/home">首页</a></li>
                            <li><a href="/o2o-merchant/sec/food">菜品管理</a></li>
                            <li><a href="/o2o-merchant/sec/order">订单信息</a></li>
                            <li><a href="/o2o-merchant/sec/advertisement">广告信息</a></li>
                            <li><a href="/o2o-merchant/sec/commentary">评论信息</a></li>
                        </ul>
                        <ul class="nav navbar-nav navbar-right">
                            <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown"><img id="userPortrait" width="30px" height="30px" class="img-circle"></img></span><span class="caret"><span id="username"></span> <span
								class="caret"></span></a>
                                <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
                                    <li class="divider"></li>
                                    <li><a href="/o2o-merchant/sec/merchant">详情</a></li>
                                    <li><a href="/o2o-merchant/sec/exit.action"> 退出</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                    <!-- /.navbar-collapse -->
                </div>
                <!-- /.container-fluid -->
            </nav>
        </div>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <div class="container">
            <div class="well center-block">
                <div class="panel panel-success" id="merchantInfo">
                    <div class="panel-heading" align="center">
                        <h4>商家详情</h4>
                    </div>
                    <div class="panel-body">
                        <div class="col-md-offset-2 col-md-6" id="merchantInfo">
                            <br>
                            <p>
                                <strong class="col-md-4 text-right">姓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;名</strong>
                                <span class="col-md-8" name="username"></span>
                            </p>
                            <br>
                            <p>
                                <strong class="col-md-4 text-right">商家地址</strong><span class="col-md-8" name="address"></span>
                            </p>
                            <br>
                            <p>
                                <strong class="col-md-4 text-right">状态信息</strong><span class="col-md-8" name="status"></span>
                            </p>
                            <br>
                            <p>
                                <strong class="col-md-4 text-right">驳回理由</strong><span class="col-md-8" name="content"></span>
                            </p>
                            <br>
                            <p>
                                <span class="col-md-8" name="statement"></span>
                            </p>
                            <br>
                             <button class="btn btn-info col-md-offset-4" data-target="#updateModel" data-toggle="modal">重新审核</button>
                        </div>
                        <div class="col-md-4">
                            <img class="img-circle" alt="portrait" height="120px" width="120px" name="portrait">
                        </div>
                        <div class="col-md-4">
                            <img alt="idCard" height="120px" width="120px" name="idCard">
                        </div>
                    </div>
                    <div class="panel-heading" align="center">
                        <h4 id="statement"></h4>
                    </div>
                </div>
            </div>
        </div>
        <!-- Modal box -->
        <div class="modal fade" id="updateModel" tabindex="-1" role="dialog" aria-labelledby="updateModelLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
						<span aria-hidden="true">&times;</span>
					</button>
                        <h4 class="modal-title" id="updateModelLabel">重新审核</h4>
                    </div>
                    <div class="modal-body">
                        <form id="updateForm" enctype="multipart/form-data">
                            <div class="form-group">
                                <label for="address">地址</label> <input type="text" name="address" class="form-control" placeholder="地址"
                                    data-container="body" data-trigger="manual" data-content="请输入地址">
                            </div>
                            <div class="form-group">
                                <label for="portrait">头像</label> <input type="file" name="portrait" data-container="body"
                                    data-trigger="manual" data-content="请输入头像">
                            </div>
                            <div class="form-group">
                                <label for="idCard">身份证</label> <input type="file" name="idCard" data-container="body" data-trigger="manual"
                                    data-content="请输入身份证">
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">返回</button>
                        <button type="button" class="btn btn-primary" id="submitUpdateBtn">提交审核</button>
                    </div>
                </div>
            </div>
        </div>
        <script src="/o2o-merchant/js/merchant.js"></script>

    </body>

    </html>